package com.liu.user.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class UserDetailsVO {
    private Integer userId;
    private Integer roleId;
    private String username;
    private String password;
    private String gender;
    private String phoneNumber;
    private BigDecimal money;
    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date lastLoginTime;
    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
